/**
 * 
 */
var _paused=false;
$(document).ready(function() 
{
	$('#pausePlayBtn').click(function()
	{		
		if (_paused)
		{
			_paused=false;
			$('#pausePlayBtn').html("Peata")
			
		}
		else
		{
			_paused=true;
			$('#pausePlayBtn').html("Mangi")
		}
		
	});
	var replayNumber = parseInt((window.location.href).split("=")[1]);
	initReplay(replayNumber);
});
$(window).load(function()
{
	shipDeployer();
});